package com.diy.sigmund.diyuser;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableDiscoveryClient
@EnableFeignClients
// 扫描mapper接口，等价于在mapper接口上添加注解@Mapper
@MapperScan("com.diy.sigmund.diyuser.mapper")
// @SpringBootApplication(scanBasePackages = "com.diy.sigmund")
@SpringBootConfiguration
@EnableAutoConfiguration
@ComponentScan(basePackages = "com.diy.sigmund")
public class DiyUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(DiyUserApplication.class, args);
    }


}
